package com.puti.doctor.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.puti.common.core.annotation.Excel;
import com.puti.common.core.web.domain.BaseEntity;
import org.apache.commons.lang.builder.ToStringBuilder;
import org.apache.commons.lang.builder.ToStringStyle;

/**
 * 医生-流水 医生-流水对象 doctor_bill
 * 
 * @author puti
 * @date 2021-04-22
 */
public class DoctorBill extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 流水ID */
    private String billId;

    /** 交易类型 */
    @Excel(name = "交易类型")
    private Long billType;

    /** 交易金额 */
    @Excel(name = "交易金额")
    private BigDecimal billMoney;

    /** 交易时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "交易时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date billCreatedtime;

    /** 流水描述 */
    @Excel(name = "流水描述")
    private String billDescription;

    /** 创建人 */
    @Excel(name = "创建人")
    private String createdBy;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createdTime;

    /** 更新人 */
    @Excel(name = "更新人")
    private String updatedBy;

    /** 更新时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "更新时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date updatedTime;
    private int doctorId;
    public void setBillId(String billId) 
    {
        this.billId = billId;
    }

    public String getBillId() 
    {
        return billId;
    }
    public void setBillType(Long billType) 
    {
        this.billType = billType;
    }

    public Long getBillType() 
    {
        return billType;
    }
    public void setBillMoney(BigDecimal billMoney) 
    {
        this.billMoney = billMoney;
    }

    public BigDecimal getBillMoney() 
    {
        return billMoney;
    }
    public void setBillCreatedtime(Date billCreatedtime) 
    {
        this.billCreatedtime = billCreatedtime;
    }

    public Date getBillCreatedtime() 
    {
        return billCreatedtime;
    }
    public void setBillDescription(String billDescription) 
    {
        this.billDescription = billDescription;
    }

    public String getBillDescription() 
    {
        return billDescription;
    }
    public void setCreatedBy(String createdBy) 
    {
        this.createdBy = createdBy;
    }

    public String getCreatedBy() 
    {
        return createdBy;
    }
    public void setCreatedTime(Date createdTime) 
    {
        this.createdTime = createdTime;
    }

    public Date getCreatedTime() 
    {
        return createdTime;
    }
    public void setUpdatedBy(String updatedBy) 
    {
        this.updatedBy = updatedBy;
    }

    public String getUpdatedBy() 
    {
        return updatedBy;
    }
    public void setUpdatedTime(Date updatedTime) 
    {
        this.updatedTime = updatedTime;
    }

    public Date getUpdatedTime() 
    {
        return updatedTime;
    }

    public int getDoctorId() {
        return doctorId;
    }

    public void setDoctorId(int doctorId) {
        this.doctorId = doctorId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("billId", getBillId())
            .append("billType", getBillType())
            .append("billMoney", getBillMoney())
            .append("billCreatedtime", getBillCreatedtime())
            .append("billDescription", getBillDescription())
            .append("createdBy", getCreatedBy())
            .append("createdTime", getCreatedTime())
            .append("updatedBy", getUpdatedBy())
            .append("updatedTime", getUpdatedTime())
            .append("doctorId", getDoctorId())
            .toString();
    }
}
